Skip to contentSkip to conversation

hdmi issues with kernel 4.18

Bug 108542 [email protected] 1 participant 12 messages Oct 24, 2018 – Nov 19, 2019

lore
Share & tools
lore

[email protected]

author Reviewed-by Harry Wentland
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=108542

            Bug ID: 108542
           Summary: hdmi issues with kernel 4.18
           Product: DRI
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: [email protected]
          Reporter: [email protected]

- since 4.18, the hdmi output says "12 bit"
- since 4.18.8 there's no video output !!

You can find more details in this thread

https://bbs.archlinux.org/viewtopic.php?id=241212

I did a bisection to find the bad commit for the first regression already, and that's the result:

e03fd3f300f6184c1264186a4c815e93bf658abb is the first bad commit commit e03fd3f300f6184c1264186a4c815e93bf658abb

Author: Mikita Lipski <[email protected]>
Date:   Wed May 16 16:46:18 2018 -0400

drm/amd/display: Do not limit color depth to 8bpc

Delete if statement that would force any display's color depth higher than 8 bpc to 8

:040000 040000 57c7a743a10059addbfdd1a122f90c4053d377fa
13139317e62ef56db1748bf48f31f81eb986c7f8 M drivers

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108542

--- Comment #2 from [email protected] ---
Created attachment 142207
--> https://bugs.freedesktop.org/attachment.cgi?id=142207&action=edit
dmesg

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108542

--- Comment #3 from [email protected] ---
(In reply to Nicholas Kazlauskas from comment #1)

Quoted 3 lines

Thanks for the bisection.

Would you mind posting a full dmesg log for your 4.18.8 kernel?

done. Dunno if that's what you asked for, I am just a newbie...

I did start bisecting the second issue as well, but my free time is limited. I think I'll finish this weekend though.

May I hope to get things fixed in a few weeks?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108542

--- Comment #4 from Nicholas Kazlauskas <[email protected]> --- (In reply to davide26079 from comment #3)

Quoted 11 lines

(In reply to Nicholas Kazlauskas from comment #1)

Quoted 3 lines

Thanks for the bisection.

Would you mind posting a full dmesg log for your 4.18.8 kernel?

done. Dunno if that's what you asked for, I am just a newbie...

I did start bisecting the second issue as well, but my free time is limited. I think I'll finish this weekend though.

May I hope to get things fixed in a few weeks?

The log you posted should be sufficient. I'm not sure about a timeline for a fix, however.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

author Reviewed-by Charlene Liu Acked-by Bhawanpreet Lakha
#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108542

--- Comment #5 from [email protected] ---

Quoted 2 lines

The log you posted should be sufficient. I'm not sure about a timeline for a fix, however.

Couldn't you just reverse the commits ?

I did complete the bisection btw:

691f2d763d0731224439686ecf2d440df8fe910e is the first bad commit commit 691f2d763d0731224439686ecf2d440df8fe910e

Author: Mikita Lipski <[email protected]>
Date:   Fri Jul 13 09:07:35 2018 -0400

drm/amd/display: update clk for various HDMI color depths

commit 81aca8e75c1b046865fb2badef95a0dcff6f73de upstream.

[why]
When programming tonga's connector's backend we didn't take in account that HDMI's colour depth might be more than 8bpc therefore we need to add a switch statement that would adjust the pixel clock accordingly.

[how]
Add a switch statement updating clock by its appropriate coefficient.

:040000 040000 ef9f989910439dc8749f1440863e3e26646d5fa1
c9ae9b8a137f9ef9d62147fcc28ea25fc4ffbc1e M drivers

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108542

--- Comment #7 from Nicholas Kazlauskas <[email protected]> --- Created attachment 142278
--> https://bugs.freedesktop.org/attachment.cgi?id=142278&action=edit
0001-Fix-unsigned-short-unsigned-long-mixup-for-usSymCloc.patch

Does applying this patch help?

Try this on top of the tree without reverting the other patches.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108542

--- Comment #8 from [email protected] ---
(In reply to Nicholas Kazlauskas from comment #7)

Quoted 6 lines

Created attachment 142278 [details] [review] 0001-Fix-unsigned-short-unsigned-long-mixup-for-usSymCloc.patch

Does applying this patch help?

Try this on top of the tree without reverting the other patches.

Just tried, unfortunately it does not.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108542

--- Comment #9 from Nicholas Kazlauskas <[email protected]> --- The patchset from:

https://patchwork.freedesktop.org/patch/260799/

...will likely resolve this issue.

It has been merged into amd-staging-drm-next branch at:

https://cgit.freedesktop.org/~agd5f/linux

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108542

--- Comment #10 from [email protected] ---
(In reply to Nicholas Kazlauskas from comment #9)

Quoted 9 lines

The patchset from:

https://patchwork.freedesktop.org/patch/260799/

...will likely resolve this issue.

It has been merged into amd-staging-drm-next branch at:

https://cgit.freedesktop.org/~agd5f/linux

Tried amd-staging-drm-next, it works!

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108542

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #11 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/568.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel